package com.trkj.dao.hjj;

import java.util.List;

import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import com.trkj.pojo.Calcluaterule;

//计算规则表
public interface CalcluateruleDAO_lxlk extends JpaRepository<Calcluaterule, Long>{
	@Query("from Calcluaterule c")
	public List<Calcluaterule> findAllCalcluatePage(Pageable p);
	
	@Query("from Calcluaterule c where c.calcluateruleName like?1")
	public List<Calcluaterule> findAllCalcluateByName(String calcluateruleName,Pageable p);
}
